<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link rel="stylesheet" type="text/css" href="<?php echo  base_url(); ?>css/jquery-ui.css">
<link rel="stylesheet" type="text/css" href="<?php echo  base_url(); ?>css/jquery-ui-timepicker-addon.css">
<link rel="stylesheet" href='<?php echo  base_url(); ?>css/main.css' type="text/css"/>
<link rel="stylesheet" type="text/css" href="<?php echo  base_url(); ?>datePicker/datePicker.css"/>
<script type="text/javascript" src="<?php echo  base_url(); ?>js/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo  base_url(); ?>datePicker/jquery-ui-datepicker.js"></script>
<script>
$(document).ready(function(){
	$('#reg_start').datepicker();
	$('#reg_end').datepicker();
	$('#message_start').datepicker();
	$('#message_end').datepicker();
	$('#product_start').datepicker();
	$('#product_end').datepicker();
});
</script>
</head>

<body>
<div class="content">
     <div class="title_name">注册用户数</div>
	<div style="float:left; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;总数：<?=$register_count;?></div>
     <div class="add" >
    <form method="post">
    	日期筛选:<input type="text" name="reg_start" id="reg_start" value="<?=$reg_start;?>"/>-<input type="text" name="reg_end" id="reg_end" value="<?=$reg_end;?>"/><input type="submit" value="提交"/>
    </form>
    </div>
<form method="post">
<table>
    	<tr>
            <th>日期</th>
            <th>数量</th>
        </tr>
        <? foreach($register_info as $res){ ?>
        <tr>
            <td><?php echo $res['udate']; ?></td>
            <td><?php echo $res['number']; ?></td>
        </tr>
        <?php } ?>
    </table>
    </form>
    
    
  <div style="height:30px;"></div>  
    <div class="title_name">消息数</div>
   <div style="float:left;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;总数：<?=$message_count;?></div>

    <div class="add" >
    <form method="post">
    	日期筛选:<input type="text" name="message_start" id="message_start" value="<?=$message_start;?>"/>-<input type="text" name="message_end" id="message_end" value="<?=$message_end;?>"/><input type="submit" value="提交"/>
    </form>
    </div>
<form method="post">
<table>
    	<tr>
            <th>日期</th>
            <th>数量</th>
        </tr>
        <? foreach($message_result as $res){ ?>
        <tr>
            <td><?php echo $res['udate']; ?></td>
            <td><?php echo $res['number']; ?></td>
        </tr>
        <?php } ?>
    </table>
    </form> 
    
   
    
    
      <div style="height:30px;"></div>  
       <div class="title_name">产品数</div>
      <div style="float:left;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;总数：<?=$product_count;?></div>

    <div class="add" >
    <form method="post">
    	日期筛选:<input type="text" name="product_start" id="product_start" value="<?=$start;?>"/>-<input type="text" name="product_end" id="product_end" value="<?=$product_end;?>"/><input type="submit" value="提交"/>
    </form>
    </div>
<form method="post">
<table>
    	<tr>
            <th>日期</th>
            <th>数量</th>
        </tr>
        <? foreach($product_result as $res){ ?>
        <tr>
            <td><?php echo $res['udate']; ?></td>
            <td><?php echo $res['number']; ?></td>
        </tr>
        <?php } ?>
    </table>
    </form>
       <div style="height:30px;"></div>  
        <div class="title_name">交友对数</div>
      <div style="float:left;">总数：<?=$friend_count;?></div>
    </div>
</body>
</html>
